package com.ruoyi.cderp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 base_data_supplier
 *
 * @author ruoyi
 * @date 2025-02-18
 */
public class BaseDataSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 编号 */
    @Excel(name = "编号")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 助记码 */
    private String mnemonicCode;

    /** 联系人 */
    private String contact;

    /** 联系电话 */
    private String telephone;

    /** 电子邮箱 */
    private String email;

    /** 邮编 */
    private String zipCode;

    /** 传真 */
    private String fax;

    /** 地区 */
    private String cityId;

    /** 地址 */
    private String address;

    /** 发货周期（天） */
    private Long deliveryCycle;

    /** 经营方式 */
    private Long manageType;

    /** 结算方式 */
    private Long settleType;

    /** 统一社会信用代码 */
    private String creditCode;

    /** 纳税人识别号 */
    private String taxIdentifyNo;

    /** 开户银行 */
    private String bankName;

    /** 户名 */
    private String accountName;

    /** 银行账号 */
    private String accountNo;

    /** 状态 */
    @Excel(name = "状态")
    private Integer available;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    /** 创建人ID */
    private String createById;

    /** 修改人ID */
    private String updateById;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setMnemonicCode(String mnemonicCode)
    {
        this.mnemonicCode = mnemonicCode;
    }

    public String getMnemonicCode()
    {
        return mnemonicCode;
    }
    public void setContact(String contact)
    {
        this.contact = contact;
    }

    public String getContact()
    {
        return contact;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setZipCode(String zipCode)
    {
        this.zipCode = zipCode;
    }

    public String getZipCode()
    {
        return zipCode;
    }
    public void setFax(String fax)
    {
        this.fax = fax;
    }

    public String getFax()
    {
        return fax;
    }
    public void setCityId(String cityId)
    {
        this.cityId = cityId;
    }

    public String getCityId()
    {
        return cityId;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setDeliveryCycle(Long deliveryCycle)
    {
        this.deliveryCycle = deliveryCycle;
    }

    public Long getDeliveryCycle()
    {
        return deliveryCycle;
    }
    public void setManageType(Long manageType)
    {
        this.manageType = manageType;
    }

    public Long getManageType()
    {
        return manageType;
    }
    public void setSettleType(Long settleType)
    {
        this.settleType = settleType;
    }

    public Long getSettleType()
    {
        return settleType;
    }
    public void setCreditCode(String creditCode)
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode()
    {
        return creditCode;
    }
    public void setTaxIdentifyNo(String taxIdentifyNo)
    {
        this.taxIdentifyNo = taxIdentifyNo;
    }

    public String getTaxIdentifyNo()
    {
        return taxIdentifyNo;
    }
    public void setBankName(String bankName)
    {
        this.bankName = bankName;
    }

    public String getBankName()
    {
        return bankName;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setAccountNo(String accountNo)
    {
        this.accountNo = accountNo;
    }

    public String getAccountNo()
    {
        return accountNo;
    }
    public void setAvailable(Integer available)
    {
        this.available = available;
    }

    public Integer getAvailable()
    {
        return available;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setCreateById(String createById)
    {
        this.createById = createById;
    }

    public String getCreateById()
    {
        return createById;
    }
    public void setUpdateById(String updateById)
    {
        this.updateById = updateById;
    }

    public String getUpdateById()
    {
        return updateById;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("mnemonicCode", getMnemonicCode())
            .append("contact", getContact())
            .append("telephone", getTelephone())
            .append("email", getEmail())
            .append("zipCode", getZipCode())
            .append("fax", getFax())
            .append("cityId", getCityId())
            .append("address", getAddress())
            .append("deliveryCycle", getDeliveryCycle())
            .append("manageType", getManageType())
            .append("settleType", getSettleType())
            .append("creditCode", getCreditCode())
            .append("taxIdentifyNo", getTaxIdentifyNo())
            .append("bankName", getBankName())
            .append("accountName", getAccountName())
            .append("accountNo", getAccountNo())
            .append("available", getAvailable())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createById", getCreateById())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateById", getUpdateById())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
